/*
 * Powered By xTOOLs
 * Dev by tao.li8@pactera.com
 * Copyright ©2009-2018 pactera.com All rights reserved.
 * Generated at 2020-7-20 14:01:01
 */

package com.pactera.jep.service.yapin.eval.model.model;

import com.pactera.jep.web.entity.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Digits;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.*;
import java.math.BigDecimal;

import com.pactera.jep.commons.DateUtils;
import com.pactera.jep.entity.PO;

/**
 * 房屋估值模型类型与适用押品种类对照表实体类
 * @Author YourName
 * @Date 2020-7-20 14:01:01
 */
@ApiModel(value = "ValModelTpCltTpRel" , description = "房屋估值模型类型与适用押品种类对照表")
@Entity
@Table(name = "ap_val_model_tp_clt_tp_rel")
public class ValModelTpCltTpRel implements PO {

    @ApiModelProperty("模型类型与押品种类对照关系id")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Length(max = 32, message = "模型类型与押品种类对照关系id长度最多32位")
    @Column(name = "MODEL_TP_CLT_TP_REL_ID")
    private String modelTpCltTpRelId;

    @ApiModelProperty("估值模型类型")
    @Length(max = 20, message = "估值模型类型长度最多20位")
    @Column(name = "MODEL_TP_CD")
    private String modelTpCd;

    @ApiModelProperty("押品种类代码")
    @Length(max = 255, message = "押品种类代码长度最多255位")
    @Column(name = "CLT_TP_CD")
    private String cltTpCd;

    @ApiModelProperty("系统创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "SYS_CREATE_TIME")
    private Date sysCreateTime;

    @ApiModelProperty("系统更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "SYS_UPDATE_TIME")
    private Date sysUpdateTime;

    public String getModelTpCltTpRelId(){
        return modelTpCltTpRelId;
    }

    public void setModelTpCltTpRelId(String modelTpCltTpRelId){
        this.modelTpCltTpRelId = modelTpCltTpRelId;
    }
    public String getModelTpCd(){
        return modelTpCd;
    }

    public void setModelTpCd(String modelTpCd){
        this.modelTpCd = modelTpCd;
    }
    public String getCltTpCd(){
        return cltTpCd;
    }

    public void setCltTpCd(String cltTpCd){
        this.cltTpCd = cltTpCd;
    }
    public Date getSysCreateTime(){
        return sysCreateTime;
    }

    public void setSysCreateTime(Date sysCreateTime){
        this.sysCreateTime = sysCreateTime;
    }
    public Date getSysUpdateTime(){
        return sysUpdateTime;
    }

    public void setSysUpdateTime(Date sysUpdateTime){
        this.sysUpdateTime = sysUpdateTime;
    }
}

